package com.fsoft.core;

/**
 * F-Soft 静态变量工具类
 * 
 * @package com.fsoft.core
 * @author Fish
 * @email it.fish2010@foxmail.com
 * @date 2020-02-13
 * @CopyRight © F-Soft
 **/
public class Global implements ContantsGlobal, WorkflowGlobal {
	/** 角色ID: 超级管理员 */
	public static final String SYS_ROLE_ID_ADMIN = "1D7EA23EA14B4ACDA0A86E36B7E60816";
	/** 角色ID: 系统管理员（维护角色） */
	public static final String SYS_ROLE_ID_SYSTEM = "84905D3EB4CB4C64870D631D22BBDFA0";
	/** 角色ID: 普通用户（帐号） */
	public static final String SYS_ROLE_ID_NORMAL = "6982FC3443214BC79502D4154C54B4D1";
	/** 角色ID: 供应商 */
	public static final String SYS_ROLE_ID_SUPPLIER = "C59872DDACE04C2E86CD03EC5BBFA38B";

	/** 超级管理员 用户ID */
	public static final String SYS_USER_ADMIN_ID = "B0095B89261A454E8C04A4F57CF9F75D";
	/** 超级管理员 用户登录名 */
	public static final String SYS_USER_ADMIN_ACCT = "admin";
	/** 默认密码 : 123456 */
	public static final String DEFAULT_PWD = "123456";
	/*** 默认单位ID */
	public static final String DEFAULT_ORG_ID = "2849FC29AB744B58A5F9BF5FFEBC2AB5";

	public static final String YES = "1";

	public static final String NO = "0";
	/** 空值字符串 */
	public static final String EMPTY_STR = "NULL";

	public static final Integer STATUS_YES = Integer.parseInt(YES);
	public static final Integer STATUS_NO = Integer.parseInt(NO);

	/** 订单抵扣方式：0=部门额度 */
	public static final Integer BUY_METHOD_DEPT = Integer.parseInt(NO);
	/** 订单抵扣方式：1=科研经费 */
	public static final Integer BUY_METHOD_FUND = Integer.parseInt(YES);

	/** 菜单类型：目录 */
	public static final Integer MENU_TYPE_CATALOG = new Integer("0");
	/** 菜单类型： 菜单 */
	public static final Integer MENU_TYPE_MENU = new Integer("1");

	/** 菜单类型：按钮 */
	public static final Integer MENU_TYPE_BUTTON = new Integer("2");

	/*** 0-管理员手工加锁 */
	public static final Integer LOCK_TYPE_ADMIN = new Integer("0");
	/** 1-登录次数超限制 */
	public static final Integer LOCK_TYPE_LOGINTIMES = new Integer("1");
	/*** 2-密码校验次数超限制 */
	public static final Integer LOCK_TYPE_PASSWORDTIMES = new Integer("2");
	/** 3-密码过期 */
	public static final Integer LOCK_TYPE_PASSWORDOVERTIME = new Integer("3");
	/*** 4-帐号长期未使用 */
	public static final Integer LOCK_TYPE_NEVERLOGIN = new Integer("4");

	/*** 返回前端404界面 */
	public static final String ERROR_PARE_404 = "/fsoft-web/404";

	/** 采购申请单 */
	public static final String SN_KEY_ORDER = "CD8B7B28C2A14D41938231BFA16EF5E0";
	/** 配送单 */
	public static final String SN_KEY_SEND = "8A58F9E3046348EAFD7CCA4DD26F0304";
}
